<!--
 * @Author: zy
 * @Date: 2022-06-11 09:54:41
 * @LastEditTime: 2022-07-26 19:24:10
 * @Description: 
-->
<template>
  <view class="page-bg-white">
    <view class="d-flex justify-content-center" style="padding-top: 200rpx">
      <image src="/static/logo.png" style="width: 160rpx; height: 160rpx" />
    </view>

    <view class="p-4" style="margin-top: 40rpx">
      <text class="text-df" style="letter-spacing: 1.2px;">
        项目使用cli构建，目录接口清晰简单。推荐作为基础模板，新项目时直接使用。已开源gitee，如果帮到您可以点个星星，如有疑问可添加wx交流
      </text>
    </view>
    <view class="padding flex flex-direction" @click="onClick">
      <button class="cu-btn bg-blue lg">
        wx号: xiaofu-fun
      </button>
    </view>

  </view>
</template>

<script>
  export default {
    data: function () {
      return {

      }
    },
    methods: {
      onClick() {
        uni.setClipboardData({
          data: 'xiaofu-fun',
          success: res => {
            uni.showToast({
              icon: "success",
              title: "已复制"
            });
          }
        });
      }
    }
  }

</script>
